const express=require("express")

const router=express.Router()

const new_carousel=require('../router_handler/carousel')


// 添加轮播
router.post('/addCarousel', new_carousel.addCarousel)

// 获取轮播
router.get('/allCarousel', new_carousel.allCarousel)

// 更新轮播
router.post('/editCarousel', new_carousel.editCarousel)

// 删除轮播
router.delete('/deleteCarousel', new_carousel.deleteCarousel)

module.exports=router